//
//  MBProgressHUD+KSDHelp.h
//  specialksudi
//
//  Created by 庄彪 on 16/4/19.
//  Copyright © 2016年 ksudi. All rights reserved.
//

#import <MBProgressHUD/MBProgressHUD.h>

@interface MBProgressHUD (KSDHelp)

+ (void)KSD_showSuccess:(NSString *)success;
+ (void)KSD_showSuccess:(NSString *)success toView:(UIView *)view;

+ (void)KSD_showError:(NSString *)error;
+ (void)KSD_showError:(NSString *)error toView:(UIView *)view;

+ (MBProgressHUD *)KSD_showMessage:(NSString *)message;
+ (MBProgressHUD *)KSD_showMessage:(NSString *)message toView:(UIView *)view;

+ (MBProgressHUD *)KSD_showLoading:(NSString *)message;
+ (MBProgressHUD *)KSD_showLoading:(NSString *)message toView:(UIView *)view;

+ (MBProgressHUD *)KSD_showDetailMessage:(NSString *)message;
+ (MBProgressHUD *)KSD_showDetailMessage:(NSString *)message toView:(UIView *)view;

+ (MBProgressHUD *)KSD_showMessage:(NSString *)message afterDelay:(NSTimeInterval)afterDelay;
+ (MBProgressHUD *)KSD_showMessage:(NSString *)message toView:(UIView *)view afterDelay:(NSTimeInterval)afterDelay;

+ (void)KSD_hideHUD;
+ (void)KSD_hideHUDForView:(UIView *)view;

@end
